import { http } from "@/utils/http";

type Result = {
  success: boolean;
  msg: string;
  data: Array<any>;
};
// 代办事项
export const getAsyncdbsxs = () => {
  return http.request<Result>("get", "/shenpi-dbsx-routes");
};
// 已办事项
export const getAsyncybsxs = () => {
  return http.request<Result>("get", "/shenpi-ybsx-routes");
};
// 填报人可撤回事项
export const getAsyncscsxs = () => {
  return http.request<Result>("get", "/shenpi-recall-routes");
};
// 驳回事项
export const getAsynchdbsxs = () => {
  return http.request<Result>("get", "/shenpi-hdbsx-routes");
};
